//
//  aRNetworkRequest.h
//  taobaos
//
//  Created by 陈柱成 on 16/6/27.
//  Copyright © 2016年 aReu. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef NS_ENUM(NSInteger, aRSessionType) {
    aRSessionTypeForHTTP = 0,
    aRSessionTypeForDown = 1
};

typedef void (^aRCallback)(id object,NSError *error);

@interface aRNetworkRequest : NSObject

@property (nonatomic,assign)CGFloat countNum;

+(aRNetworkRequest*)shareInstance;

-(void)requestDataToEachPageSetting:(aRCallback)arcb
                 byRequestUrlString:(NSString*)urlString;

-(void)requestByPOSTWithDic:(NSDictionary*)dic
         byRequestUrlString:(NSString*)urlString
                           :(aRCallback)arcb;

@end
